<template>
  <div class="wubai">
    <img src="../../assets/2.png" alt />
    <div class="handle">
      <p @click="back">返回上一页</p>
      <p @click="gohome">返回首页</p>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    back() {
      this.$router.go(-1);
    },
    gohome() {
      this.$router.push("/");
    }
  }
};
</script>

<style>
.wubai {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wubai > img {
  width: 100%;
  height: 50%;
}

.handle {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}
.handle p {
  font-size: 14px;
  color: blue;
}
</style>
